package cn.wolfcode.wolf2w.cloud.member.reposity;

import cn.wolfcode.wolf2w.cloud.member.domain.UserInfo;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface UserInfoRepository extends MongoRepository<UserInfo, String> {

  //通过手机号查询用户
    UserInfo findByPhone(String phone);
}
